package org.jeecg.modules.nurse_user_bill.service;

import org.jeecg.modules.nurse_user_bill.entity.NurseUserBillInvoice;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.nurse_user_bill.vo.OpenInvoiceRequest;

import java.util.List;

/**
 * @Description: 用户电子发票
 * @Author: jeecg-boot
 * @Date: 2024-06-04
 * @Version: V1.0
 */
public interface INurseUserBillInvoiceService extends IService<NurseUserBillInvoice> {

    /**
     * 通过主表id查询子表数据
     *
     * @param mainId
     * @return List<NurseUserBillInvoice>
     */
    public List<NurseUserBillInvoice> selectByMainId(String mainId);

    /**
     * 开具数电/全电电子发票
     *
     * @return
     */
    public String openElectronicInvoice(OpenInvoiceRequest invoiceResponseRequest);


    /**
     * 电子发票红冲接口
     *
     * @return
     */
    public String redElectronicInvoice(String orderId);
}
